package com.ruoyi.used.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实名认证对象 used_autonym
 * 
 * @author ruoyi
 * @date 2020-07-09
 */
public class UsedAutonym extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long auId;

    /** 连接用户表 */
    @Excel(name = "连接用户表")
    private Long uId;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String auName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String auIdcard;

    /** 实名状态 */
    @Excel(name = "实名状态")
    private Integer auState;

    /** 身份证正面照片 */
    @Excel(name = "身份证正面照片")
    private String auFront;

    /** 身份证反面照片 */
    @Excel(name = "身份证反面照片")
    private String auReverses;

    /**连接用户表**/
    private UsedUser user;

    public UsedUser getUser() {
        return user;
    }

    public void setUser(UsedUser user) {
        this.user = user;
    }

    public void setAuId(Long auId)
    {
        this.auId = auId;
    }

    public Long getAuId() 
    {
        return auId;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setAuName(String auName) 
    {
        this.auName = auName;
    }

    public String getAuName() 
    {
        return auName;
    }
    public void setAuIdcard(String auIdcard) 
    {
        this.auIdcard = auIdcard;
    }

    public String getAuIdcard() 
    {
        return auIdcard;
    }
    public void setAuState(Integer auState) 
    {
        this.auState = auState;
    }

    public Integer getAuState() 
    {
        return auState;
    }
    public void setAuFront(String auFront) 
    {
        this.auFront = auFront;
    }

    public String getAuFront() 
    {
        return auFront;
    }
    public void setAuReverses(String auReverses) 
    {
        this.auReverses = auReverses;
    }

    public String getAuReverses() 
    {
        return auReverses;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("auId", getAuId())
            .append("uId", getuId())
            .append("auName", getAuName())
            .append("auIdcard", getAuIdcard())
            .append("auState", getAuState())
            .append("auFront", getAuFront())
            .append("auReverses", getAuReverses())
            .append("user",getUser())
            .toString();
    }
}
